package com.frxuexi.video

import com.frxuexi.lib_base.entity.VideoCommentBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent
import com.frxuexi.lib_base.room.ZanEntity
import retrofit2.http.Query

sealed class VideoIntent:IUiIntent {
    data class getVideos(val page:Int):VideoIntent()

    data class isZan(val id:Int):VideoIntent()

    data class addZan(val zanEntity: ZanEntity):VideoIntent()

    data class cancelZan(val zanEntity: ZanEntity):VideoIntent()

    data class getComments(val id:Int):VideoIntent()

    data class addComment(val item:VideoCommentBeanItem):VideoIntent()

    data class getFocuse(val name:String):VideoIntent()
    data class addFocuse(val focusUserName:String,val focusedUserName:String):VideoIntent()
    data class deleteFocuse(val focusUserName:String,val focusedUserName:String):VideoIntent()
}